package com.example.superoa.model.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.example.superoa.model.mappers.EntryMapper;
import com.example.superoa.model.vo.EntryVo;

@Service
@Transactional(rollbackFor=Exception.class)
public class EntryService {
	@Autowired
	private EntryMapper entrymapper;
	
	//查询入职信息
	public List<EntryVo> entryAll(){
		return entrymapper.entryAll();
		
	}
}
